How should I correctly type hint a numpy ndarray without causing a 'TypeError'

visit shbcf.ru